// Machine generated IDispatch wrapper class(es) created with ClassWizard
/////////////////////////////////////////////////////////////////////////////
// IAuthority wrapper class

#include "eDasResultCode.h"

class IAuthority : public COleDispatchDriver
{
public:
	IAuthority() {}		// Calls COleDispatchDriver default constructor
	IAuthority(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
	IAuthority(const IAuthority& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}

// Attributes
public:

// Operations
public:
	long AddRole(LPCTSTR bstrRoleName, LPCTSTR bstrAdmittanceGateways);
	long UpdateRole(LPCTSTR bstrOriginalRoleName, LPCTSTR bstrNewRoleName, LPCTSTR bstrAdmittanceGateways);
	long DeleteRole(LPCTSTR bstrRoleName);
	long GetRoles(BSTR* pbstrRoles);
	long SetUserGroupDefaultRole(LPCTSTR bstrGroupName, LPCTSTR bstrRoleName);
	long SetUserRole(LPCTSTR bstrGroupName, LPCTSTR bstrRoleName);
	void CheckGateway(LPCTSTR bstrUserName, LPCTSTR bstrGateway, long* ret);
};
